from django.db import models


# 标签模型

class Tag(models.Model):
    name = models.CharField('课程标签名', max_length=20)

    class Meta:
        db_table = 'syl_tag'
        verbose_name = '课程标签'
        verbose_name_plural = verbose_name

    def __str__(self):
        return self.name

# Create your models here.
